This is a short program that reads the version data contained in a NXStringTable format file, and generates an header file from this data, that is then imported by VersionInfo.m, defining the project version information at compile time.
Original Author: Jeremy Slade
Revision History:
Created
V.101 JGS Fri Apr 3 23:53:16 GMT-0700 1992
*/
#import <libc.h>
#import <objc/NXStringTable.h>
#import <stdio.h>
#import <streams/streams.h>
#define INPUT_FILE "VersionInfo.data"
#define OUTPUT_FILE "VersionInfo.data.h"
void main ( int argc, char *argv[] )
{
id table;
NXStream *stream;
int ReleaseType, MajorVersion, MinorVersion, Revision, VersionNum;